﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TestEnvirementCL.POCO.Users;
using System.ComponentModel.DataAnnotations;
namespace TestEnvirementCL.POCO
{
  public class School
  {
    //Attributes of the Table
    public int SchoolId { get; set; }
    public string Name { get; set; }
    public string Street { get; set; }
    public string Zipcode { get; set; }
    public string City { get; set; }
    public string Email { get; set; }
    public string Abbreviation { get; set; }
    
    //Foreign Keys
    public int NSSFId { get; set; }
    public int? SCCId { get; set; }

    //Relations to other Classes
    public virtual List<Team> Teams { get; set; }
    public virtual NSSF NSSF { get; set; }
    public virtual SCC SCC { get; set; }
   
  }
}
